

package com.jingdun.sport.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jingdun.sport.bean.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface UserMapper extends BaseMapper<User> {

	User getUserByBizUserId(@Param("appId")Integer appId, @Param("bizUserId")String bizUserId);

	User getUserByMobile(@Param("mobile")String mobile);

	User getUserByOpenId(@Param("openId")String openId);

	public User getUserDetail(@Param("params") Map<String, Object> m);

	public User updateUser(User user);

    public Map getUserUnWithdrawalSum();
}
